package com.yourwork.service;

import javax.servlet.http.HttpSession;

import org.springframework.data.domain.Page;

import com.yourwork.model.Consumption;

/**
 * 用户消费记录Service
 * **/
public interface ConsumptionService {
	//查询
	public Page<Consumption> queryRecord(int page, int size);
	//添加记录
	public String insertRecord(Consumption record, int[] serviceIemId,String[] number ,HttpSession session);
	//消费记录总条数
	public int countRecord();
	//最大页数
	public int queryMaxPage(int page, int size);

}
